-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
4.22.5
-
Code
-
Classes
- FileModel
Total Complexity |
96 |
Dependencies |
2 |
Dependents |
4 |
Total lines |
501 |
Lines of code |
295 |
Logical lines of code |
183 |
Comment lines |
97 |
Methods |
27 |
Properties |
12 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mb_pathinfo() |
A |
48 |
14 |
34 |
relativeToFullPath() |
A |
49 |
10 |
32 |
pathIsUrl() |
A |
60 |
9 |
11 |
copy() |
S |
51 |
6 |
25 |
setFileInfo() |
S |
61 |
6 |
12 |
getBackupDirectory() |
S |
55 |
4 |
21 |
processPath() |
S |
56 |
4 |
19 |
hasBackup() |
S |
63 |
4 |
11 |
UrlToPath() |
S |
59 |
3 |
14 |
delete() |
S |
61 |
3 |
13 |
is_file() |
S |
63 |
3 |
12 |
getMime() |
S |
64 |
3 |
11 |
getFileDir() |
S |
67 |
3 |
8 |
getFileName() |
S |
74 |
2 |
5 |
getExtension() |
S |
74 |
2 |
5 |
getFileBase() |
S |
74 |
2 |
5 |
exists() |
S |
73 |
2 |
5 |
getFullPath() |
S |
74 |
2 |
5 |
is_writable() |
S |
73 |
2 |
5 |
move() |
S |
65 |
2 |
10 |
getFileSize() |
S |
71 |
2 |
6 |
getBackupFile() |
S |
71 |
2 |
6 |
is_readable() |
S |
73 |
2 |
5 |
__toString() |
S |
81 |
1 |
3 |
resetStatus() |
S |
72 |
1 |
6 |
getModified() |
S |
80 |
1 |
3 |
__construct() |
S |
80 |
1 |
3 |